package com.recharge.wk.mapper;

import com.recharge.wk.domain.TradeMerchant;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

public interface ITradeMerchantMapper {

    TradeMerchant selectById(@Param("merId") String merId, @Param("password") String password);
    
    List<TradeMerchant> selectMerList(@Param("merId") String merId, @Param("merName") String merName,
			@Param("curr")Integer curr, @Param("pageSize")Integer pageSize);
	
	int countMer(@Param("merId") String merId, @Param("merName") String merName);
	
	int updateAddBalance(@Param("merId") String merId, @Param("merName") String merName,
			@Param("balanceAdd") BigDecimal balanceAdd);
}